package net.ys;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author nmy
 */
@RestController
@SpringBootApplication
public class BootApprovalApplication {

    public static void main(String[] args) {
        System.out.println("access http://localhost:8080/approval");
        SpringApplication.run(BootApprovalApplication.class, args);
    }

    @GetMapping("/")
    public String index() {
        return "service running!!!";
    }

}

